package week4;

/**
 * Created by dell on 2017/3/18.
 */
public abstract class Ocean1Fish implements Ocean1Swimmer {
    protected String name;
    public Ocean1Fish(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
    @Override
    public abstract void swim();
}
